package com.hm.prac5;

public class Test {
    public static void main(String[] args) {
        Color[] values = Color.values();
        for (Color value : values) {
            if (Color.valueOf("GREEN").equals(value)) {
                System.out.println(value);
            }
        }
    }
}

